API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsDebug
Testing
FunctionSet.h
1
// FunctionSet.h
3
//
5
6
namespace
nkDebug
7
{
13
class
FunctionSet
final
14
{
15
public :
16
17
// Constructor, destructor
21
FunctionSet
() ;
25
~FunctionSet
() ;
26
27
// Pool management
35
const
std::function<void ()>&
registerFunction
(
const
char
* name,
const
std::function<
void
()>& func) ;
42
nkLog::StringView
getFunctionName
(
unsigned
int
index)
const
;
49
const
std::function<void ()>&
getFunction
(
unsigned
int
index)
const
;
53
unsigned
int
getSetSize
()
const
;
54
} ;
55
}
nkLog::StringView
Allows to exchange strings with external code.
Definition:
StringView.h:18
nkDebug::FunctionSet::~FunctionSet
~FunctionSet()
nkDebug::FunctionSet
A function set holding testing functions.
Definition:
FunctionSet.h:14
nkDebug::FunctionSet::getFunction
const std::function< void()> & getFunction(unsigned int index) const
nkDebug::FunctionSet::FunctionSet
FunctionSet()
nkDebug::FunctionSet::getSetSize
unsigned int getSetSize() const
nkDebug::FunctionSet::getFunctionName
nkLog::StringView getFunctionName(unsigned int index) const
nkDebug
Encompasses all API of component NilkinsDebug.
Definition:
LogManager.h:7
nkDebug::FunctionSet::registerFunction
const std::function< void()> & registerFunction(const char *name, const std::function< void()> &func)
Generated by
Doxygen
1.8.18